import java.util.Scanner;
public class Ifelse
{
public static void main(String[] args)
{
System.out.print("请输入年份：");
Scanner num=new Scanner("System.in");
int year=num.nextInt();
If((year%4==0&&year%100!=0)||(year%400==0))
{
System.out.println(year+"是闰年");
}
else
{
System.out.println(year+"是平年");
}
}
}